<!DOCTYPE html>
<html>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/table-as-item-narrow-content-2.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
<head><title>CSS Flexbox Test: Flex item as table with narrow content</title>
<link href="mailto:mstensho@chromium.org" rel="author" title="Morten Stenshorne">
<link href="mailto:tlin@mozilla.com" rel="author" title="Ting-Yu Lin">
<link href="https://www.w3.org/TR/css-flexbox-1/#layout-algorithm" rel="help" title="9. Flex Layout Algorithm">
<meta content="A flex item as a table uses the sizing algorithm of the flexbox" name="assert">
<link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/ref-filled-green-100px-square-only.htm" rel="match">
</head><body><p>Test passes if there is a filled green square.</p>
<div style="display:flex; flex-direction:column; width: 100px; height:200px; ">
  <div style="display:table; flex:1 0; background:green;">
    <div style="width:100px; height:10px;"></div>
  </div>
  <div style="flex:1 0;"></div>
</div>
</body>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/table-as-item-narrow-content-2.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
</html>